package com.zmn.plat.model.vo.extension.serv.category;

import com.zmn.plat.model.entity.extension.serv.category.ExtensionServCategoryAssociation;
import lombok.Data;
import lombok.ToString;
import java.io.Serializable;

/**
 * @author linfeng
 * @description
 * @since 2019/12/30 15:47
 * @modifier
 **/
@Data
@ToString(callSuper = true)
public class ExtensionServCategoryAssociationVO extends ExtensionServCategoryAssociation implements Serializable {
    /**
     * 推广服务分类名称
     */
    private String extensionServCategName;

    /**
     * 推广分类名称
     */
    private String extensionCategName;

    /**
     * 后台二级分类名称
     */
    private String categName;

    /**
     * 后台二级分类状态
     */
    private Integer status;

    /**
     * 关联组合key
     */
    private String relateKey;

    public String getRelateKey(){
        return getExtensionServCategId() + "-" + getExtensionCategId();
    }
}
